package tw.com.softleader.reins.demo.exam.entity;

public class Exam {
	private Long id;
	private String name;
	private Long difficulty;
	private Long itemLength;
	private Long time;
	
	public Exam(){
		
	}
	public Exam(Long id,String name,Long difficult,Long itemLength,Long time){
		this.id=id;
		this.name=name;
		this.difficulty=difficult;
		this.itemLength=itemLength;
		this.time=time;
	}
	

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getDifficulty() {
		return difficulty;
	}
	public void setDifficulty(Long difficulty) {
		this.difficulty = difficulty;
	}
	public Long getItemLength() {
		return itemLength;
	}
	public void setItemLength(Long itemLength) {
		this.itemLength = itemLength;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	@Override
	public String toString() {
		return "Exam [id=" + id + ", name=" + name + ", difficulty=" + difficulty+", itemLength=" + itemLength+", time=" + time+"]" ;
	}
	
}
